package com.nashuju.web.entity.sw;

import java.util.Date;

import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;


public class SAssociationRecordSch extends SearchEasyUI{

	//根据时间进行搜索的部分
	private Date createdStartSch;
	private Date createdEndSch;

	@ValueField(column = "createdTime", equal = ">=")
	public Date getCreatedStartSch() {
		return createdStartSch;
	}

	public void setCreatedStartSch(Date createdStartSch) {
		this.createdStartSch = createdStartSch;
	}

	@ValueField(column = "createdTime", equal = "<")
	public Date getCreatedEndSch() {
		if (createdEndSch != null) {
			return DateUtil.getDateAfterDay(createdEndSch, 1);
		}
		return createdEndSch;
	}

	public void setCreatedEndSch(Date createdEndSch) {
		this.createdEndSch = createdEndSch;
	}


    private Integer idSch;
    private String deal_personSch;
    private Integer task_numberSch;
    private Date edited_timeSch;
    private Date created_timeSch;
    private Integer uuidSch;

    public void setIdSch(Integer idSch){
        this.idSch = idSch;
    }
    
    @ValueField(column = "id")
    public Integer getIdSch(){
        return this.idSch;
    }

    public void setDealPersonSch(String deal_personSch){
        this.deal_personSch = deal_personSch;
    }
    
    @ValueField(column = "deal_person")
    public String getDealPersonSch(){
        return this.deal_personSch;
    }

    public void setTaskNumberSch(Integer task_numberSch){
        this.task_numberSch = task_numberSch;
    }
    
    @ValueField(column = "task_number")
    public Integer getTaskNumberSch(){
        return this.task_numberSch;
    }

    public void setEditedTimeSch(Date edited_timeSch){
        this.edited_timeSch = edited_timeSch;
    }
    
    @ValueField(column = "edited_time")
    public Date getEditedTimeSch(){
        return this.edited_timeSch;
    }

    public void setCreatedTimeSch(Date created_timeSch){
        this.created_timeSch = created_timeSch;
    }
    
    @ValueField(column = "created_time")
    public Date getCreatedTimeSch(){
        return this.created_timeSch;
    }

    public void setUuidSch(Integer uuidSch){
        this.uuidSch = uuidSch;
    }
    
    @ValueField(column = "uuid")
    public Integer getUuidSch(){
        return this.uuidSch;
    }


}